package com.elitel.frame.main.dao.polym;

import com.elitel.frame.main.entity.polym.CfgMultQueryField;
import com.elitel.frame.main.entity.polym.CfgMultQueryFieldExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CfgMultQueryFieldMapper {
    long countByExample(CfgMultQueryFieldExample example);

    int deleteByExample(CfgMultQueryFieldExample example);

    int deleteByPrimaryKey(String queryFieldId);

    int insert(CfgMultQueryField record);
    
    int insertBatch(@Param("entities") List<CfgMultQueryField> entities);

    int insertSelective(CfgMultQueryField record);

    List<CfgMultQueryField> selectByExample(CfgMultQueryFieldExample example);

    CfgMultQueryField selectByPrimaryKey(String queryFieldId);

    int updateByExampleSelective(@Param("record") CfgMultQueryField record, @Param("example") CfgMultQueryFieldExample example);

    int updateByExample(@Param("record") CfgMultQueryField record, @Param("example") CfgMultQueryFieldExample example);

    int updateByPrimaryKeySelective(CfgMultQueryField record);

    int updateByPrimaryKey(CfgMultQueryField record);

    List<CfgMultQueryField> selectByServiceId(@Param("serviceGuids") List<String> serviceGuids);
}